
import request from '@/utils/request'
import { apiUrl } from '@/config/env'

export function getCarousel(data) {
  return request({
    url: `${apiUrl}/Carousel/getCarousel`,
    method: 'get',
    params: data
  })
}

export function saveCarousel(data) {
  return request({
    url: `${apiUrl}/Carousel/saveCarousel`,
    method: 'post',
    params: data
  })
}

export function delCarousel(data) {
  return request({
    url: `${apiUrl}/Carousel/delCarousel`,
    method: 'post',
    params: data
  })
}

